package com.googlecode.afdbaccess.web.common.exception;

/**
 * Class to wrap lower layer exceptions in, if you want to add a longMessage to them.
 * It will set showStackTrace to true, so the underlaying error will be clearly shown
 * if the printing application listens to this flag.
 */
public class GuiLayerWrappedException extends GuiLayerException {
    public GuiLayerWrappedException(String message, String longMessage, Throwable cause) {
        super(message, longMessage, true, cause);
    }

    public GuiLayerWrappedException(String message, String longMessage) {
        super(message, longMessage, true);
    }

    public GuiLayerWrappedException(String message, Throwable cause) {
        super(message, true, cause);
    }

    public GuiLayerWrappedException(String message) {
        super(message, true);
    }

}
